<?php
/**
 * 
 */
class Description extends AppModel {
  
	var $name = 'Description';
  var $displayField = 'content';
  
	var $validate = array(

		'content' => array(
        'notempty' => array(
          'rule' => array('notempty'),
          'message' => 'This field cannot be empty.',
          //'allowEmpty' => false,
          //'required' => false,
          //'last' => false, // Stop validation after this rule
          //'on' => 'create', // Limit validation to 'create' or 'update' operations
        )
		),
	);
  
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $belongsTo = array(
		'Job' => array(
			'className' => 'Job',
			'foreignKey' => 'job_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
